﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ET_DbCommon
{
    public  enum LineNameEnum
    {
        /// <summary>
        /// 北京9
        /// </summary>
        [LineName("北京9")]
        BeiJing9,
        /// <summary>
        /// 房山线
        /// </summary>
        [LineName("房山线")]
        FangShan,
        /// <summary>
        /// 1-八通线
        /// </summary>
        [LineName("1-八通线")]
        BaTong,
        /// <summary>
        /// 北京S1
        /// </summary>
        [LineName("北京S1")]
        BeiJingS1,
    }

    public class LineNameAttribute : Attribute
    {

        public string Name { get; private set; }
        public LineNameAttribute(string name) 
        {
            Name = name;
        }  
    }
}
